// @ts-nocheck
import { request } from '@/request'

export const vAjax = {
    //获取网站信息
    getWebConfig: data => {
        return request({
            url: '/v1/workflows/run',
            data: data,
            method: 'post',
            responseType: 'stream'
        })
    },
    //获取当前城市信息
    getCityInfo: data => {
        return request({
            url: '/api/setting.Region/geoJson',
            params: data,
            method: 'get',

        })
    },
    //获取当前城市信息
    getDistrictInfo: data => {
        return request({
            url: '/api/setting.Region/list',
            params: data,
            method: 'get',

        })
    },
}
